library(tidyverse)
## -- Attaching packages ------------------------ tidyverse 1.2.1 --
## v ggplot2 3.2.1 v purrr 0.3.2
## v tibble 2.1.3 v dplyr 0.8.3
## v tidyr 0.8.3 v stringr 1.4.0
## v readr 1.3.1 v forcats 0.4.0
## -- Conflicts --------------------------- tidyverse_conflicts() --
## x dplyr::filter() masks stats::filter()
## x dplyr::lag() masks stats::lag()
library(ggplot2)
library(readr)
library(plotly)
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
StateZHVI5bed <- read_csv("StateZHVI5Bedroom.csv")
## Parsed with column specification:
## cols(
## Date = col_character(),
## ZHVI = col_double(),
## RegionID = col_double(),
## RegionName = col_character(),
## SizeRank = col_double()
## )
g9 <- ggplot(StateZHVI5bed, aes(Date, ZHVI,
color = RegionName)) +
geom_point(alpha = 0.5) +
theme_minimal() +
facet_wrap(~RegionName) +
theme(legend.position = "none")
ggplotly(g9)